import java.io.*;

/**
 * Created by 81052 on 2018/4/10.
 */
public class Dome03 {
    public static void main(String[] args) {
        try {
            Runtime ce=Runtime.getRuntime();//声明并创建对象
            File file=new File("c://windows","Notepad.exe");//创建一个文件
            ce.exec(file.getAbsolutePath());
        }
        catch(Exception e) {
            System.out.println(e);
        }
    }
}
